<?php
/**
 * @author mahoa 20211219
 * @version 1
 */
namespace app\Api\controller;

class Nav extends TokenBase
{

    public  function getNav()
    {
        $res = model('NavModel')->getModelNav();
        if($res) {
            re_json(1, '获取导航成功', $res);
        }else{
            re_json();
        }

    }

}